/**
 * 
 */
package MCQReaderAnsweredAnalyze;

import java.awt.Image;

import MCQReaderInterface.MainInterface;

/**
 * @author barrolemax
 * 
 */
public class ImageManager {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public Image getPageImage(int page) {
		MainInterface.getThisIsIt().getRightFrame().getPdfDisplay()
				.setCurrentPage(page);
		return getCurrentImage();
	}

	public Image getCurrentImage() {
		return MainInterface.getThisIsIt().getRightFrame().getPdfDisplay()
				.getCurrentImage();
	}

}
